package db;

import com.example.zproject.dao.impl.UserDaoimpl;
import com.example.zproject.entity.UserEntity;
import org.junit.jupiter.api.Test;

import java.sql.SQLException;

public class testSave {
    @Test
    public void SaveTwst() throws SQLException {
        UserDaoimpl userDao = new UserDaoimpl();
        UserEntity user = new UserEntity();
        user.setUsername("hbj");
        user.setPassword("123456");
        user.setEmail("123456@qq.com");
        userDao.save(user);

    }
}
